package com.wanmait.schedule.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 是否查看任务表
 * </p>
 *
 * @author wanmait
 * @since 2022-03-02
 */
@Data
@Accessors(chain = true)
@TableName("`check`")
public class Check {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 查看人id
     */

    private Integer companyUserId;

    @TableField(exist = false)
    private CompanyUser companyUser;
    /**
     * 项目id
     */
    private Integer projectId;

    @TableField(exist = false)
    private Project project;
    /**
     * 企业分配任务以后部长是否收到（1为收到，默认为0）
     */
    @TableLogic
    private Boolean ispass;

    /**
     * 查看时间
     */
    private Date checkTime;


}
